export const routes_order = [
    {
        path: '/order/cart',
        component(resolve) {
            require(['../../pages/order/Cart'], resolve)
        },
        meta: {
            title: '购物车',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/order/sure',
        component(resolve) {
            require(['../../pages/order/SureOrder'], resolve)
        },
        meta: {
            title: '确认订单',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/order/sendWay',
        component(resolve) {
            require(['../../pages/order/SendWay'], resolve)
        },
        meta: {
            title: '选择配送方式',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/order/addAdress',
        component(resolve) {
            require(['../../pages/order/AddAdress'], resolve)
        },
        meta: {
            title: '填写联系信息',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/order/list',
        component(resolve) {
            require(['../../pages/order/OrderTabList'], resolve)
        },
        meta: {
            title: '订单',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/pay/paySuccess/:returnType',
        component(resolve) {
            require(['../../pages/trade/PaySuccess'], resolve)
        },
        meta: {
            title: '订单',
            userAuth: true,
            thirdAuth: false,
        },
    },
]
